<template>
  <div class="app-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="国家标准" name="1" ref="nationalStandards">
        <nationalStandards v-if="activeName == '1'" />
      </el-tab-pane>
      <el-tab-pane label="行业标准" name="2" ref="IndustryStandard">
        <IndustryStandard v-if="activeName == '2'" />
      </el-tab-pane>
      <el-tab-pane label="地方标准" name="3" ref="localStandards">
        <localStandards v-if="activeName == '3'" />
      </el-tab-pane>
      <el-tab-pane label="团体标准" name="4" ref="groupStandards">
        <groupStandards v-if="activeName == '4'" />
      </el-tab-pane>
      <el-tab-pane label="已提交标准" name="5" ref="submitted">
        <submitted v-if="activeName == '5'" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import nationalStandards from "./nationalStandards/index.vue";
import IndustryStandard from "./IndustryStandard/index.vue";
import localStandards from "./localStandards/index.vue";
import groupStandards from "./groupStandards/index.vue";
import submitted from "./submitted/index.vue";
export default {
  components: {
    nationalStandards,
    IndustryStandard,
    localStandards,
    groupStandards,
    submitted
  },
  data() {
    return {
      activeName: "1"
    };
  },
  methods: {
    handleClick() {}
  }
};
</script>

<style lang="less" scoped>
::v-deep .el-tabs--top .el-tabs__item.is-top:last-child{
padding-left: 750px;
}
</style>
